<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://unpkg.com/vue"></script>
    <script>
        window.onload=function(){
            Vue.component('child', {
                // camelCase in JavaScript
                props: ['myMessage'],
                template: '<span>{{ myMessage }}</span>'
            })
            new Vue({
                el: '#example-3'
                ,data:{parentMsg:""}
            })}
    </script>
</head>
<body>
<div id="example-3">
    <input v-model="parentMsg">
    <br>
    <child v-bind:my-message="parentMsg"></child>
</div>
</body>
</html>